var argv = process.argv;

//CPU架构信息
console.log(process.arch);
//操作系统
console.log(process.platform);
//进程id信息
console.log(process.pid);
//可执行文件路径
console.log(argv[0]);
//内存使用情况
console.log(process.memoryUsage());